package com.sc.service.goods;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sc.dal.mapper.goods.GoodsUnitMapper;
import com.sc.dal.model.goods.GoodsUnit;

/**
 * 商品单位服务实现
 * @author maoyongbin
 * @日期 Mar 21, 2017 4:00:53 PM
 */
@Service
public class GoodsUnitService {
	@Autowired
	private GoodsUnitMapper goodsUnitMapper;
	
	/**
	 * 查找所有的商品单位
	 * @return List<GoodsUnit>
	 */
	public List<GoodsUnit> selectList(){
		List<GoodsUnit> goodsUnitList = this.goodsUnitMapper.selectList();
		
		return goodsUnitList;
	}
}
